package com.ktjy;

/**
 * @author 黄军艳
 * @version 1.0
 * @date 2024/11/23  11:23
 */
public class Employee {
    private String empNo;
    private String empName;
    private String empPost;
    private double empSalary;

    public String getEmpNo() {
        return empNo;
    }

    public void setEmpNo(String empNo) {
        this.empNo = empNo;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getEmpPost() {
        return empPost;
    }

    public void setEmpPost(String empPost) {
        this.empPost = empPost;
    }

    public double getEmpSalary() {
        return empSalary;
    }

    public void setEmpSalary(double empSalary) {
        this.empSalary = empSalary;
    }

    public void showInfo(){
        System.out.println("员工工号："+getEmpNo()+"，员工姓名："+getEmpName()+"，员工职位："+getEmpPost()
        +"，员工工资："+getEmpSalary());
    }


}
